function forceSegmentName(ctx, name) {
  ctx.segment.name = name
}
Helper to force segment name to make it easier for assertions

@param {context} ctx active context
@param {string} name of transaction