Martin,
There is a limit of 64-characters on UIDs and character limitations where its not possible to just do an append. You are right that there's a possibility of an OS assigning the same Process ID within a second causing issues within the UID generator. We deemed the chance of this to be low enough that it wasn't worth coding around.
If you are interested in alternate UID generation techniques, there's a discussion about this on comp.protocols.dicom here:
groups.google.com/group/comp.protoc...1daff4bdaa
Also, the above thread references this document about generating a UID from a Guid:
www.dclunie.com/medical-image-faq/html/part2.html#UUID
Also, here's a reference from the OFFIS toolkit about their UID generation techniques:
forum.dcmtk.org/viewtopic.php
I hope this helps.
Steve