returns the list of ids of the nodes with checked and three-state checkboxes, separated by default delimiter