Influence by the larger society

For you personally, are your racial, ethnic, and/or gender identities more matters of how you view yourself or of how others view you? In what ways is how you view yourself influenced by the larger society and culture?