Hidden symmetry and the magnetically induced “Mott transition” in quantum wells containing an electron gas