How do the dogs no who is a guest and who is a unwanted visiter?