I Am Not Them: Fluid Identities and Persistent Out-group Bias in Large Language Models