How might shyness be explained as a secondary identity that develops out of socialization?

How might shyness be explained as a secondary identity that develops out of socialization?