def randomize_nick(cls, base, suffix_length=3):
        """
        Generates a pseudo-random nickname.

        :param base: prefix to use for the generated nickname.
        :type base: unicode
        :param suffix_length: amount of digits to append to `base`
        :type suffix_length: int
        :return: generated nickname.
        :rtype: unicode
        """
        suffix = u''.join(choice(u'0123456789') for _ in range(suffix_length))
        return u'{0}{1}'.format(base, suffix)
Generates a pseudo-random nickname.

        :param base: prefix to use for the generated nickname.
        :type base: unicode
        :param suffix_length: amount of digits to append to `base`
        :type suffix_length: int
        :return: generated nickname.
        :rtype: unicode