In the case of wild primates I would believe they know as we would use the word. For Goats, Sheep, Or Equines, I have to imagine its closer to how we get cravings for foods sometimes, because we have some sort of nutrient deficiency that food would correct.