Assigning `record.key` when `key` is not specified on a data store that is abstracting an API