Collective nouns actually are a great delight to read, especially the ones that are politically incorrect, frank, and perhaps, whimsically accurate in some sense.
Formally, collective noun forms such as a group of people are represented by second-order variables, or by first-order variables standing for sets (which are well-defined objects in mathematics and logic).