Detection of all document identifiers