General social categories such as university affiliation, course majors, and even ad-hoc groups have been used to distinguish between in-group and out-group members.
In less developed countries individuals often depend on social networks that impose conformity to in-group norms and beliefs, and loyalty to group leaders.