Polarization of Atoms within a PN Junction