def cast_tweet_id(tweet_id: str) -> int:
    """Cast a single Tweet ID to int.

    They may be prefixed with 'ID:' so try to remove this.
    """
    if tweet_id.lower().startswith('id:'):
        tweet_id = tweet_id.lower()[3:]

    return int(tweet_id)