func WithID(id *url.URL) Opt {
	return func(opts *Options) {
		opts.ID = id
	}
}
WithID sets the 'id' property on the object.
package vocab
import (
	"net/url"
	"time"
)
type Options struct {
	Context      []Context
	ID           *url.URL
	URL          []*url.URL
	To           []*url.URL
	Published    *time.Time
	StartTime    *time.Time
	EndTime      *time.Time
	Types        []Type
	CID          string
	InReplyTo    *url.URL
	Attachment   []*ObjectProperty
	AttributedTo *url.URL
	Generator    string
	ObjectPropertyOptions
	CollectionOptions
	ActivityOptions
	ActorOptions
	PublicKeyOptions
	AnchorEventOptions
}
type Opt func(opts *Options)
func NewOptions(opts ...Opt) *Options {
	options := &Options{}
	for _, opt := range opts {
		opt(options)
	}
	return options
}
func WithContext(context ...Context) Opt {
	return func(opts *Options) {
		opts.Context = context
	}
}