Wiktionary
n. The tendency of individuals to associate with others of the same kind
Wikipedia
Homophily (i.e., "love of the same") is the tendency of individuals to associate and bond with similar others. The presence of homophily has been discovered in a vast array of network studies. More than 100 studies that have observed homophily in some form or another and they establish that similarity breeds connection. These include age, gender, class, and organizational role.
Individuals in homophilic relationships share common characteristics (beliefs, values, education, etc.) that make communication and relationship formation easier. The opposite of homophily is heterophily or intermingling.
Homophily is a metric studied in the field of social network analysis in which it is also known as assortativity.
Homophily between mated pairs in animals has been extensively studied in the field of evolutionary biology in which it is known as assortative mating. Homophily between mated pairs is common within natural animal mating populations.