Confirmed, being logged in does generate the ID. Being logged out produces NULL.
No caching here.
Updated Participants Database Version 1.7.0.2, still able to reproduce the issue. Logged in status affects generation of ID.
Following that update: disabled all plugin extensions, still was able to reproduce the issue. Logged in status affects generation of ID.