Dogs are similar to babies in their ability to discern an intent by a human to communicate meaningful information. Rose Eveleth reports