It becomes obvious in software development when trying to name a column in DB (entity property in code).
When it comes to naming columns in tables, i look at the values that that column is going to hold and start typing those values on the web, as keywords, trying to find the abstract concept name for them. It takes time and sometimes i end up giving stupid multi-word names.
I am looking for a word, let me call it xxx, to be my first search keyword (like synonym, antonym) to find the name of the abstract concept of the values.
Let me give an example: suppose i am trying to name a column which is going to hold the following values: male, female. If i google "what is xxx of male female", the search result should return "gender".
There must be a word and this must have been answered already, sorry, but, i have not found it, yet. So i am writing here in case somebody redirects me to the answer i am looking for.
I am trying to find their grouping (thanks to @Nitvin) name (kind of reverse-engineering). I am looking for a word; for it, the sentence would be something like this:
xxx of red, blue, white, green: color, hue, shade, ting, ..
xxx of male, female: gender, sex, ..
xxx of Black, Hispanic, White: race