Application Custom Property inside SQL Component Monitor

I see discussions about using Application Custom Properties inside of Alert Conditions but I don't see any discussions about using Application Custom Properties within SQL Queries run inside of Component Monitors.  Using what I learned from the above mentioned discussions I have tried to get it to work but with no luck.

I guess the first hurdle is that I know I can access the value of the Custom Property using a SELECT statement against the APM_ApplicationCustomProperties table but first need for the query to understand the value contained in ${ApplicationID}.  If I understand how to do that, I can likely just skip the SELECT statement and access the Custom Property directly.

Suggestions?