Use gouuid package to generate UUIDs, and change method signatures for ResourceDatabase to mimic CRUD and have an explicit Create method, that assigns a new Identifier.