The identity an entity of the store has on its LAYER — the one clearRestoredStatus
and the restore address it by.
Read from the record: a creation is named by its client key until the server names it, a
served entity by the server's id, which is not the key the queue holds it under.
Parameters
layerId: string
The entity's layer.
localId: string
The key the queue holds the entity under.
Returns Promise<string|number>
The identity on the layer; the key itself when the record cannot be read.
The identity an entity of the store has on its LAYER — the one clearRestoredStatus and the restore address it by.
Read from the record: a creation is named by its client key until the server names it, a served entity by the server's id, which is not the key the queue holds it under.