Added generate_client_id function to common
Merge pull request #124 from wiliamsouza/master

Add generate_client_id to common