System and method for resolving identities in blockchain