code: func ToGlobalID(ttype string, id string) string {
  	str := ttype + ":" + id
  	encStr := base64.StdEncoding.EncodeToString([]byte(str))
  	return encStr
  }
docs: /*
  Takes a type name and an ID specific to that type name, and returns a
  "global ID" that is unique among all types.
  */