Autoimmunity as a Driving Force of Cognitive Evolution