generation of ticket code prefix (+suffix unimpl.), fixes #628