Identity and Group Formation