How about looking up the filter for a given name once, via ValueGlobal, when adding the filter?
Or even don't use names at all, just let the user specify properties (or other filters) directly? If there is a reason for not doing that, perhaps document it, at least in a source code comment?