Set Uuid on document on insert.

- Also throw Exception if Uuid is designated more than once.