Don't rename content when the new id has leading or trailing spaces