Add validation for Er::Tag