new object names & uuids

set a new name only when there is no existing name or the UUID is
already allocated