code: def _uniqueid(n=30):
      
      return ''.join(random.SystemRandom().choice(
                     string.ascii_uppercase + string.ascii_lowercase)
                     for _ in range(n))
docs: Return a unique string with length n.
  
      :parameter int N: number of character in the uniqueid
      :return: the uniqueid
      :rtype: str