Support separatedmaterial tag, fixes #5211.

<separatedmaterial> and <relatedmaterial> are concatenated in the import