utf8_idpb has configurable flags

Allow utf8_idpb() to build utf8 text with several options.