How does a dog know another dog is a dog.