builtin/notes: convert static functions to object_id