Just another small script to add "Material" modifiers on top of the sellections to assign random or in order material ID. Apply multi subobject material to the selection first.
Comment and feedback are welcome.
Change Log:
V1: Basic as above.
V1.1: Added a random IDs button for making the IDs Random (duh) :)
Cheers