Use integers instead of strings for tags.
Revert "Use integers instead of strings for tags."

This reverts commit 24358d9831e1471976479cb5fc1b73b8cf3c348a.

Benchmarks actually got worse.  Need to look into this.
Perhaps the use of vars as constants is causing the problem.