Implement case insensitive duplicate name check on syntax editor (fix #107)