But this doesn't work, because the custom module ID varies by page!
Does anyone know a workaround for this?
This help article talks about the problem, and claims that "you may instead choose to use no_wrapper=True, when printing HubL module values within custom modules." However, this does not seem to make a difference.