make tag format configurable
fix tags reference
default to tag 100000 to avoid it being interpretable as an octal value