Many 3D programs tag each element in a scene with a unique Object ID. The ID Matte effect uses this information to create a matte that excludes everything in the scene except the element you want.
This effect works with 8-bpc, 16-bpc, and 32-bpc color.