public IInteger uuidi() {
UUID uuid = UUID.randomUUID();
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
DataOutputStream data = new DataOutputStream(bytes);
try {
data.writeLong(uuid.getMostSignificantBits());
data.writeLong(uuid.getLeastSignificantBits());
return values.integer(bytes.toByteArray());
} catch (IOException e) {
throw RuntimeExceptionFactory.io(values.string("could not generate unique number " + uuid), null, null);
}