Replace Process.pid with a randomly generated class variable

Process.pid isn't supported on all platforms, so generating a random string to act as the process_id is more flexible.