Name material copy to Name slot material

Hi! I ran into the problem that datasmith, when exporting to the Name slot material, records not the name of the material, but its id.

is there a way to take the names of materials in static mesh through the blueprint and assign these names to the Name slot material? considering that there are several materials in one object.