"Object ID" Question

Hi there :

Somebody knows how "object Id" ( Maya API Rendering Attribute ) works,
regarding to switch shading node ?

What kind of relationship exist between this attribute and the "names" of
the surfaces being rendered in order to match them ?

Thanks in advance ...

Martin Leguizamon
Maya Developer, Argentina
wwww.geocities.com/provide3d
laupamar@satlink.com
provide3d@yahoo.com