Add syntax for specifying titles identifier. Code derived from Renaud Littolff's contribution.