UniqueMaterialID is a small script for 3dsmax to assign unique material ID to each element inside an object.
This way the MultiTexture Map can be used with other objects then what comes out of the FloorGenerator, it can for example be used to randomize leaves on a tree as you can see on the right.