code: private static boolean insideGetUniqueIdCall(Node n) {
      Node parent = n.getParent();
      String name = parent.isCall() ?
          parent.getFirstChild().getQualifiedName() : null;
  
      return name != null && name.endsWith(GET_UNIQUE_ID_FUNCTION);
    }
docs: Returns whether the node is an argument of a function that returns
  a unique id (the last part of the qualified name matches
  GET_UNIQUE_ID_FUNCTION).