Homophobic attack on trainee police officer in Liverpool