We were never really able to ascertain how they figure out which animals belong to whom, as they all seem to roam around the valley and go wherever they please.