Primary Cognitive Categories Are Determined by Their Invariances