Using the code I rewrote yesterday, I've now integrated the treaty spreadsheet into the main personography. I had to resolve a few duplicate ids, so I've now written an additional output page for the web site which lists all existing ids (except for purely local ones) so that assignment is easier.