Get all study items (e.g., geneids).

def get_set(self, fieldname):
        """Get all study items (e.g., geneids)."""
        set_items = set()
        for ntdata in self.nts:
            set_items |= getattr(ntdata, fieldname)
        return set_items