SourceCodeClassifier prefers Function category if there are several different ones for the same Range

It fixes wrong generated signatures colorization when some class members are got ReferenceType category.