I figured it out. I had this bit in columnupdate_kobopath. I'd had it commented out for a bit but at some point I'd inadvertedly uncommented it.
Code:
## Returns blank for paperbooks
## Not needed since run on demand
elif $formats == 'PAPERBOOK' then ''
I'm not sure why it specifically returned 'unknown identifier' though.