Similarities and differences: Measuring diversity and selecting peers in higher education