Centralized logic to calculate enum section from table section number