xip/ppk: add a '\n' at the end of an error message
principals: add zFilter XID type

Also rename 4id to i4id to make names consistent with
our documents.