code: def d_to_local_name(acs, attr):
      
      for aconv in acs:
          lattr = aconv.d_from_format(attr)
          if lattr:
              return lattr
  
      # if everything else fails this might be good enough
      try:
          return attr["friendly_name"]
      except KeyError:
          raise ConverterError("Could not find local name for %s" % attr)
docs: :param acs: List of AttributeConverter instances
      :param attr: an Attribute dictionary
      :return: The local attribute name