I was possible to generate the principle id as in the following post and generated a new identity using the keysmith tool. Use seeds example.
It’ll be very useful if someone can document these since a lot of developers facing the same kind of issues. Thank you very much for helping me guys.