There is a trope circulating on the internet that if a fae (or fairy, elf, etc.) asks for your name, and you give it to them, they can literally take your name from you, leaving you nameless.
How far back does this trope date? Does it appear in any traditional fairy tales, or is it a more recent invention? Are there any citations even from before the 21st century?
"Fae" generally refers to a secretive race of magical pagan creatures in the European tradition, e.g. creatures similar to those called fairies, leprechauns, elves, Aos sí, etc, or modern stories based on such creatures. Basically, any magical creature that would appear in a European fairy tale might qualify. Here is a compendium of many authentic fairy tales.
Note that I am looking for mentions of a fae stealing the name of a human, not the other way around.