Ion doping of gallium arsenide