Added GenerateId from mavezeau's pull request #60