You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sigid.go
    path of file: ./repos/client/go/sigid
    
    the code of the file until where you have to start completion: package sigid

import (
	"encoding/binary"
	"sort"

	"github.com/blang/semver"
	"github.com/keybase/client/go/kbcrypto"
	keybase1 "github.com/keybase/client/go/protocol/keybase1"
)

type YNM int

const (
	No    YNM = 0
	Yes   YNM = 1
	Maybe YNM = 2
)

func isM
    
func ComputeSigBodyAndID(sigInfo *kbcrypto.NaclSigInfo, clientName string, clientVersion string) (body []byte, sigID keybase1.SigIDBase, err error) {
	isModern := isModernSigIDMaker(clientName, clientVersion)
	body, err = kbcrypto.EncodePacketToBytes(sigInfo)
	sigID = kbcrypto.ComputeSigIDFromSigBody(body)
	if err != nil {
		return nil, sigID, err
	}
	if isModern == Yes {
		return body, sigID, nil
	}
	if isModern == Maybe && isMaybeModernSigIDMakerModern(sigID) {
		return body, sigID, nil
	}
	body, err = kbcrypto.EncodePacketToBytesWithOptionalHash(sigInfo, false)
	if err != nil {
		return nil, sigID, err
	}
	sigID = kbcrypto.ComputeSigIDFromSigBody(body)
	return body, sigID, nil
}