Preference for Similarity and Information Collection in Groups