Get a session by id using the id_map.
The session ID to lookup
SessionBase object, or null if not found