afb-session: Expose a local id for sessions