Analogy as the Core of Cognition