Answer: This is called "LABELING AND MISLABELING"
Explanation: Labeling is a special description that defines the character of a person or something.
When you label a person for an attitude he or she has done, it means you have defined the person using that attitude you saw.
Mislabeling is when you have labeled someone or something wrongly. When you have defined someone with a character that the person does not portray, you have mislabeled the person.
When a person's identity has been portrayed using the mistake done in the past, it means labeling because you have defined the person using that character, it also means mislabeling because the person may have changed, due to influence or motivation.