Added generateRandomId static method
0.6.0