The origins of dog breed names can be tricky to trace.