code: def remove_diacritics(self_or_cls, identifier):
          
          chars = ''
          for c in identifier:
              replacement = unicodedata.normalize('NFKD', c).encode('ASCII', 'ignore')
              if replacement != '':
                  chars += bytes_to_unicode(replacement)
              else:
                  chars += c
          return chars
docs: Remove diacritics and accents from the input leaving other
          unicode characters alone.