Ab initio modelling of the spin Hall effect in doped and alloyed systems: With applications in magnetoresistive RAM.