Auto increment a uid  for the log table.