force all tag names to lowercase
Add purity lock function