By understanding the language, so it can do magic things like "rename this field (including uses of it)" without changing other uses of the same string. As a separate operation from general find and replace, of course.
You tell it what you want to find and replace with and then it automates the rest.
My point being that where you draw the line between what you consider automated vs not is pretty arbitrary.