Modified TextTag constuctor to allow tag name customization.