Escape tag names.