Ego Psychology and the Problem of Adaptation