docs: public static String genNaiveBaseNameForExpr(ExprNode exprNode, String fallbackBaseName) {
      if (exprNode instanceof VarRefNode) {
        return BaseUtils.convertToUpperUnderscore(((VarRefNode) exprNode).getName());
      } else if (exprNode instanceof FieldAccessNode) {
        return BaseUtils.convertToUpperUnderscore(((FieldAccessNode) exprNode).getFieldName());
      } else if (exprNode instanceof GlobalNode) {
        String globalName = ((GlobalNode) exprNode).getName();
        return BaseUtils.convertToUpperUnderscore(BaseUtils.extractPartAfterLastDot(globalName));
      }
  
      return fallbackBaseName;
    }