I thought the ego was the one clinging to anything that is related to itself. In hindsight it isn't cut and dried like that. There is never a transition from Ego to something else. But there is a transition from the perspective to some greater part of the self.

I think best viewed as Carl Jung's Personal consciousness and the shadow are the ego. There's the Anima/animus. Not sure where it belongs on the chart. But Im pretty sure it's outside of the ego. Anything that happens outside of it is the collective unconscious.