unique per entry type, e.g. Order, Customer.
It is up to application to define ids, it can be business keys, e.g. customerId, or uuid, or sequence numbers (but seq numbers are of course difficult to scale)