Man says police officer beat him up, didn't identify himself