A trainee solicitor who claimed he was paid the equivalent of €5 an hour at times has been awarded €22,439 against his former employer.