code: def normalizeToTag(val):
      
      try:
          val = val.upper()
      except AttributeError:
          raise KeyError("{} is not a tag or name string".format(val))
      if val not in tagsAndNameSetUpper:
          raise KeyError("{} is not a tag or name string".format(val))
      else:
          try:
              return fullToTagDictUpper[val]
          except KeyError:
              return val
docs: Converts tags or full names to 2 character tags, case insensitive
  
      # Parameters
  
      _val_: `str`
  
      > A two character string giving the tag or its full name
  
      # Returns
  
      `str`
  
      > The short name of _val_