public validateBeforeRead() as Repository<T, TId>
Validates null and duplicate identities before subsequent reads.