With reference to academic literature, critically discuss how the role of HRM practitioners and the four main functions of HRM might be shaped by external (PESTLE) and internal contextual factors. Please provide organizational examples evident in practice.