Set the ``chain_id`` for the chain class.

def chain_id(chain_id: int, chain_class: Type[BaseChain]) -> Type[BaseChain]:
    """
    Set the ``chain_id`` for the chain class.
    """
    return chain_class.configure(chain_id=chain_id)