Copy Object Name to Data Repository for the source code of the Copy Object Name to Data add-on for Blender. This adds a simple operator to copy object names to object data.