Broke pid minting out into a separate interface with default UUID-based implementation