Unfortunately, querying by OSM ID isn’t possible in the current version. For Python scripting, you can use the workaround proposed by @osmuser63783. This will be slow for large GOLs, since the query engine has to perform a full scan (IDs aren’t currently indexed), but you can mitigate this by constraining the query set if you know the node’s general geographic area and/or tags.
ID indexing is coming in the next major version (It is a required part of fast minutely updates). However, there are no currently plans to support it in the GOL Tool, so I opened this enhancement issue on GitHub. The core of the issue is deciding on the query syntax – if you have any preferences, please leave a comment.
Thanks for your patience!