fn id(&self, wsid: usize, tagid: usize) -> usize {
        match self.mode {
            LayoutMode::Tag => tagid,
            LayoutMode::Workspace => wsid,
        }
    }
Get back either the workspace ID or the tag ID, based on the current [`LayoutMode`]
leftwm-core/src/layouts/layout_manager.rs