The unconscious before Freud