code: func calculateOutputID(tmsTxID string, index int) string {
  	return fmt.Sprintf("%s.%d", tmsTxID, index)
  }
docs: // Calculate an ID for an individual output in a transaction, as a function of
  // the transaction ID, and the index of the output