Choosing roles under supply function competition