Rename an existing reference
This method works for both direct and symbolic references. The new name will be checked for validity and may be modified into a normalized form.
The refernece will be immediately renamed in-memory and on disk.