The Rule of Names (1964) is a short story by Ursula K. LeGuin, set in the world of Earthsea.
A delightful little mystery that well illustrates the basis of magical power in the Earthsea series: knowing the true name of something gives you power over that something. But you'd also better be sure that you know what that something really is!