func checkName(name string) (string, error) {
	if "" == name {
		return "", fault.IdentityNameIsRequired
	}
	_, err := account.AccountFromBase58(name)
	if nil == err {
		return "", fault.InvalidIdentityName
	}
	return name, nil
}
identity is required, but not check the config file
package main
import (
	"encoding/hex"
	"fmt"
	"os"
	"strconv"
	"strings"
	"github.com/urfave/cli"
	"github.com/bitmark-inc/bitmarkd/account"
	"github.com/bitmark-inc/bitmarkd/command/bitmark-cli/configuration"
	"github.com/bitmark-inc/bitmarkd/currency"
	"github.com/bitmark-inc/bitmarkd/fault"
)