A q-analogue of the bailey-Borwein-Bradley identity