ensure names containing punctuation (e.g. ' -) can be parsed