Baking Vray object IDs to geometry with Grasshopper

Can anyone point me in the right direction for baking Vray object IDs to geometry with Grasshopper?

Thanks :pray: