As British voters weigh whether to leave the European Union, they are wading into questions about national identity and Britain’s place in the world.