make numeric-tag aware of lexically scoped locals