Identity Processes, Social Context, and the Formation of Social Solidarity in Groups