New static method getIdFromMaster. Inserts an id in a table in key_master database and gets the last_insert_id. To be used in graph generation