Identity refers to a sense of self and how one relates to society. Theories of identity formation include Erik Erikson's stages of identity development from childhood through adolescence and James Marcia's identity statuses of identity achievement, moratorium, foreclosure, and diffusion. Personal, social, cultural, and environmental influences shape identity formation, including gender, culture, peers, family, school, and media. Social cognition and role-taking abilities also develop with age and experience.