Generate a unique identifier for a node process