def get_object_id_value(spall_dict):
    """
        get the best value for OBJID
    :param spall_dict:
    :return:
    """
    if "BESTOBJID" in spall_dict.keys():
        return spall_dict["BESTOBJID"]
    else:
        return spall_dict["OBJID"]