To avoid another Brexit let’s stop treating citizenship as a birthright