ensure unique materials across plugins