Text this: Balancing producer and consumer risks in optimal attribute testing: A unified Bayesian/Frequentist design