def validate_cipher_suite_id(cipher_suite_id):
    """Validates that a CipherSuite conforms to the proper format.

    Args:
        cipher_suite_id (int): CipherSuite id.

    Returns:
        (int): The original CipherSuite id.

    """
    if not isinstance(cipher_suite_id, int):
        raise TypeError("CipherSuite ID must be of type int.")
    if not 0 <= cipher_suite_id <= 3:
        raise ValueError("Invalid CipherSuite.")
    return cipher_suite_id