How can I add UUIDs to headlines by default?

Apologies for a simple question. I have up until now not used UUIDs. I’d like to do two things:

  1. Add them by default whenever I create a headline.
  2. Update all my existing files to have the UUIDs.

Is this possible?