Throw ClientOutOfSync on null uid.

@bug W-1989780@

@rev gtorres@
Merging origin/goliver/master-pending-null-uid into master