Tag base substitution