change enum class SymId back to int

the memory saved is not worth the performance penalty