How do histories influence the process of identity formation?

How do histories influence the process of identity formation?