In an obj file with o MyObject accompanied by a mtl file with newmtl MyMaterial the mesh.name has the same value as mash.material.name.