The same cognitive mechanism underlies reasoning about the features of kinds and the traits of individuals