Sigh... I typed out a super long reply to lose it to cyber gnomes.
You may want to look at Erik Erikson's Stages of Development. That was the first thing that came to mind, about how our experiences at those times in development shape how we respond throughout our life time.