Avoiding duplicates on a randomstring?

I was just building upon the agreed understanding that Bubble’s UID is unique. The logic is that to achieve a unique result the formula must use a unique value.