An identifier can be renamed using rename(). All other identical references
associated with that identifier will be renamed as well, again taking into
account the proper identifier scope. Renaming works for variable declaration,
function name, and function parameter.

For rename() to work, it needs to have the identification result
(via identify) and the new name for the identifier.