name:

invoked as: name <thing> "newname"

attempts to rename the object by modifying its ".nam" element to the
provided string.