Implement tag_key and untag_key to easily compute hashable_keys from pools