Insert the word (or WORD) under the cursor into the command line.
3 drills
Rename the word under the cursor: The cursor is on a name that has to change everywhere. Rename it with :%s/, <C-r><C-w> for the old name, and the new name from the target.
Use the word as the replacement: The cursor is on the new name. Replace the old name with it using <C-r><C-w> in the replacement part of :s (look at the target for which lines change).
Names with dashes: <C-r><C-a>: This name has dashes in it, so <C-r><C-w> would only grab part of it. Rename it everywhere with :%s/<C-r><C-a>/…/g.