Group affiliations can be
Ascribed group memberships
based on gender, family, age, caste, and ethnic, racial, or national origin
Acquired group memberships
based on religion, political affiliation, professional association
Two other factors that are important
education and social connections