Perception and analogy