unique identifier utility function