No it doesn't contact the server. It uses a similar method to the one Freelancer uses generate the ID. I think my method is more robust than the Freelancer one but as you note there is a chance of a conflict.
Proud member of "the most paranoid group of people in the community"