Text this: Substrate and Mg doping effects in GaAs nanowires