Added safety check for missing linking id.
Improved leading punctuation handling and article handling of sort titles.