Self-perception and social dynamics