Verify that option names do not have invalid characters.