How to get niagara particle ID in module script?

There’s a checkbox “Requires Persistent IDs” in the Emitter Properties module. That should enable ID indexing