The Dynamics of the Ego