shopprogram: document id computation
program: document id/ document title computation