not criminal legal aid no.....
I worked for a gap year before Uni (to pay for Uni ya'know, rather than expecting someone else to pay for me). I didn't have any problems but, thinking aloud, if I had I'd have taken them to my line manager. If I wasn't happy with my line manager I'd have taken them to his manager. And if I still wasn't happy (i.e. I'm not happy with the company as a whole) I'd have voted with my feet - withheld my labour and quit. Free market and all that.
congrats you're now out of work and without a reference.