ensure unique names when renaming costumes