Answer
There's no built-in function that returns the current lobby page ID directly to the data source query. The practical workaround is to add your own custom parameter to the data source, and explicitly set that parameter's value on each lobby page that uses it — the pages then distinguish themselves to the shared data source through that parameter's value rather than through an automatically available page identifier.