import string
import random


def Id(size=12, chars=string.ascii_uppercase + string.digits):
  """Generates a random identifier"""
  token = ''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(size))
  return token