adds the conversion code from mid to guid
Merge pull request #40 from xiaoling/master

adds the conversion code from mid to guid