Make default ID on windows somewhat random. #3813

On Windows, we have a global namespace for pipes.  Hence, we can't
use the default ID across multiple instances.  So, we tie the ID
to master's PID.  Fixes most of the observed test failures.