The answer is representativeness heuristic. This heuristic play a part in the valuations we make about other people. In the representativeness heuristic, the likelihood that Anna is a librarian, for instance, is measured by the mark to which his is representative of, or like to, the typecast of a librarian.