code: IdComponents splitId(String id) throws IndexOutOfBoundsException
     {
        String[] membershipIDs = id.split(",");
  
        String groupNodeId = membershipIDs[0];
        String userName = membershipIDs[1];
        String type = membershipIDs[2];
  
        return new IdComponents(groupNodeId, userName, type);
     }
docs: Splits membership identifier into several components.