(#22363) Add lookup of resource parameter value

This makes it possible to get the value of a resource's parameter
(or its not yet set default or override value) by using syntax such as:

Notify[id][param]