### Godot version

4.0 dev_build

### System information

Ubuntu 22.04.1

### Issue description

The "Lookup Symbol" button don't appears for custorm class names.
Related issues: #68475,  #73167.
I tried apply #68311, #69473 and #73196. It don't helps.
The `Ctrl+LMB` works right for all cases.

### Steps to reproduce

Right click to the `CustomClassA` symbol in the `custom_class_b.gd` anywhere. The `Lookup Symbol` button don't appears in the context menu.

### Minimal reproduction project

Example from  #68475.
ClassDB::get_integer_constant(context.current_class->extends[0]->name, p_symbol, &success);
		if (success) {
			r_result.type = ScriptLanguage::LOOKUP_RESULT_CLASS_CONSTANT;
			r_result.class_name = context.current_class->extends[0]->name;
			r_result.class_member = p_symbol;
			return OK;
		}
	}
	bool is_function = false;
	switch (context.type) {
		case GDScriptParser::COMPLETION_BUILT_IN_TYPE_CONSTANT_OR_STATIC_METHOD: {
			if (!Variant::has_builtin_method(context.builtin_type, StringName(p_symbol))) {
				
				r_result.type = ScriptLanguage::LOOKUP_RESULT_CLASS_CONSTANT;
				r_result.class_name = Variant::get_type_name(context.builtin_type);
				r_result.class_member = p_symbol;
				return OK;
			}
			
			GDScriptParser::DataType base_type;
			base_type.kind = GDScriptParser::DataType::BUILTIN;
			base_type.builtin_type = context.builtin_type;
			if (_lookup_symbol_from_base(base_type, p_symbol, true, r_result) == OK) {
				return OK;
			}
		} break;
		case GDScriptParser::COMPLETION_SUPER_METHOD:
		case GDScriptParser::COMPLETION_METHOD: {
			is_function = true;
			[[fallthrough]];