The process of attributing certain characteristics to members of a particular group on the basis of their group membership.