Community
Not exactly sure what you mean, but if you look for a way to render ids behind transparent objects (e.g. glass), then enable Transmit AOVs under Transmission in the standard_surface shader.
If you are looking for something else, then please give us more details.
Thank you for your answer, I have objects inside the glass and I would like to render the translucent id of the glass so that I can adjust the glass only without affecting the objects inside the glass when I later adjust it!
I don't think it's possible, but maybe someone else has any idea how to do it.