Translate key ids to names in getProperty().

When rethrowing exceptions for properties not found, the property keys
need to be translated from internal ids to user friendly names.