replaced id generation with a rfc4122 v.4 compliant guid generator