If `Model.uuid()` exists, use it to set `@id` and `@cid` in constructor
Added tests for client-side UUIDs
Bug fix and test improvements