rename uuid to uid

technically they aren't universal unique IDs just uids. (Mostly because
numbers are easier to deal with than strings)