Actually set client IDs using current time.

Previously we created the next_id function too early (when server_id
was 0).