Referenced blocks have the id:: property. It is automatically added by logseq the first time a block is referenced/embedded or its reference is copied.
I use a script (modified from LogSeq to Outlook Events Script) that relies on the presence of the id:: property followed by the UUID of the block. To make sure it is added, I am right-clicking the block node and then clicking Copy block ref. But this is manual, takes my hands off the keyboard, and I can easily forget to do it.
Is there a native option --or can you think of a simple way-- to make sure it is automatically added on creation for task blocks?