More robustly tolerate special characters in protein names.