Add name to materials and meshes.