Switch implementation of section-based contextual tagging