id is currently randomly generated by pouchDB, however we could use the asset code as id and make it validate as unique.
it will then be consider as an asset id number and could also be used as couchDB _id
or _id: new Date().toJSON() ?
good idea? don't know yet ;-)