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: randomid.go
    path of file: ./repos/buildkit/identity
    
    the code of the file until where you have to start completion: package identity

import (
	cryptorand "crypto/rand"
	"i
    
func NewID() string {
	var p [randomIDEntropyBytes]byte

	if _, err := io.ReadFull(idReader, p[:]); err != nil {
		panic(errors.Wrap(err, "failed to read random bytes: %v"))
	}

	p[0] |= 0x80 // set high bit to avoid the need for padding
	return (&big.Int{}).SetBytes(p[:]).Text(randomIDBase)[1 : maxRandomIDLength+1]
}