fixed bug in material assignment names when using referenced scenes, using object safe names would lead to mismatched material assignments