theory of the origin of ideas