This page gives information on the Object ID Render Element.
Overview
Parameters
Common Uses
The Object ID Render Element is useful for isolating geometry in a scene based on the Object ID. This means that items can be isolated by use of a matte, created from the solid colors within the Object ID pass. This method is used to isolate and color correct the ottoman in the example. The ottoman has an Object ID of 1, the floor has an Object ID of 4 and the walls have an Object ID of 2. See how the render looks before and after compositing.
Notes
If antialiasing is needed for a scene, setting Output type to Color (with AA) gives the best results.
Setting the Output type to Integer (no AA) renders slightly faster, although with no antialiasing.
The name of the Object ID render element must consist of the name of the Object ID itself, a dot and then any other string to be properly read in Nuke. For example, VRayObjectID.example . Do not include numbers in the name.