The issue is stirring up old divisions and proving to be an early headache for the Labour government.