utility function to use atom and urn as keys