The type of the tag, typically an ISO-3166 field type.
The generated tag key.
This function determines the key to be used in a tag array based on the type of data. For the type 'name', it returns 'countryName', indicating the tag represents a country's name. For any other type, it returns 'countryCode', typically representing an ISO-3166 country code.
Generates a country key based on the given type.