Currently in order to get object ID or material ID for glass we find ourselves rendering the same image twice and we have to make all glass opaque in order to see the glass for Photoshop Touchup.
It would be really nice to have an extra ID maybe for Glass (where everything is black except for any glass)
Or even have a toggle like the Apply Alpha Channel. To have the option to have access to Glass.