+1 to this. I saw a screenshot post on Reddit of the "examine" window of a disguised NPC who was classified as "doppelganger". This is an extreme example, but I think it furthers the OPs point. The examine window and features of the interface give too much away sometimes.

I always advocate for potential changes like these to be optional to accommodate different playstyles. A toggle in the options menu or associating the restriction with difficulty setting would be a great solution.