Sets the actor ID for an Automerge document. This should typically be done before making any changes. Changing the actor ID mid-session is not recommended as it can complicate change attribution.
Examples
doc <- am_create()
# Set custom actor ID from hex string
am_set_actor(doc, "0123456789abcdef0123456789abcdef")
# Generate new random actor ID
am_set_actor(doc, NULL)