Document 2 can be, or can be formed from, a special type of marking medium in which a substrate, such as a sheet or sticker of paper or a document, bears visible or invisible markings that encode an identifier of the substrate and, in some cases, can also encode locations or zones within the substrate, as discussed in further detail below with reference to FIGS. 3 to 7.