[refactoring] Migrate all DAO to bind to UUID directly for scoping to a
tenant. This allows to treat global and tenant-local entities
indifferently