I dug a bit into those nodes and they aren't too fruitful at the moment - at least I didn't find a way yet. A lot of those might work better in C4D where they might be able to access tags that make them work better.
MaterialNode ... this one seems to change when you use different Material nodes inside a material (maybe worth digging into that one).
...PinName ... had no luck with those.
ObjectNodeName ... you can use these to group instanced object. The ones who share the same instance also share the same color in the matte pass.
InstanceID ... this might be useful in scattering or arrays. But I didn't look into that too much.