returns a list of document IDs used in the PCC

def document_ids(self):
        """returns a list of document IDs used in the PCC"""
        matches = [PCC_DOCID_RE.match(os.path.basename(fname))
                   for fname in pcc.tokenization]
        return sorted(match.groups()[0] for match in matches)