list.addRefId(identifier);
list.addRefId(item.getIdentifier());
    public void addToCollection(String name, String identifier) {        ReferenceList list = getCollection(name);        if (list == null) {            list = new ReferenceList(name);            addCollection(list);        }        list.addRefId(identifier);    }