def location_or_id
      @target == :external ?  { :"r:id" => relationship.Id } : { :location => Axlsx::coder.encode(location) }
    end
The values to be used in serialization based on the target.
location should only be specified for non-external targets.
r:id should only be specified for external targets.
@return [Hash]