Get the current session ID.
This is a method of the Agent class in the agent module.
def session_id() -> Optional[str]