import random
import string


def string_id(length=8):
    """ Generate Random ID.

    Random ID contains ascii letters and digitis.

    Args:
        length (int): Character length of id.

    Returns:
        Random id string.
    """
    return ''.join(random.choice(string.ascii_letters +
                                 string.digits)
                   for _ in range(length))