This could come in handy

Cool AE plugins for dealing with ObjectIDs.
http://aescripts.com/efx-render-elements-free/

Somewhat related, but is there an AE plugin that supports Cryptomatte masks?

Best regards,
Vlado