The hidden history of the ego instincts