Extracts the identifier (if present) from a source string in a certain position.
String getDartIdentifier(int startPosition) => dartIdentifierRegExp.matchAsPrefix(this, startPosition)?.group(0) ?? '';