'Return a new participant with a random username.'

@classmethod
def with_random_username(cls):

    with cls.db.get_cursor() as cursor:
        username = safely_reserve_a_username(cursor)
    return cls.from_username(username)
