Protect sample name against XML escaping