Animal Foraging and the Evolution of Goal‐Directed Cognition | Synapse