@classmethod
def thirty2(cls, x):
    """idstring.thirty2(n: int) --> Thirty-two bit string  # like hex(n) but 5 bits encoded, not four"""
    q, r = divmod(int(x), len(cls.ALPHABET))
    digits = [cls.ALPHABET[r]]
    while q:
        q, r = divmod(q, len(cls.ALPHABET))
        digits.append(cls.ALPHABET[r])
    return ''.join(digits[::-1])
