This avoids having to perform the ```queryName``` lookup twice in a row in ```DeclaredQueryLookupStrategy```.