tries several name delimiters, and chooses the best one