Self-transcendence is on the side of the hierarchy of needs, though admittedly a person isn't going to be very good at self-transcendence if they are starving or aren't educated. I think this drive of self-transcendence guides many people whenever they are at the various levels. Though admittedly some people get all the way through a Ph.D. without really having a sense of meaning or purpose, I think this kind of trajectory is in the minority and most of us mix it up a bit.