So the police demanded to see his identification while having no grounds for suspecting that the guy had committed, or was about to commit a crime.
There are two actual situations which come to mind where the man could have been legally compelled to provide ID: a designated area under the Terrorism Act, and a traffic stop. Neither of those situations apply here.
If were in the same situation as this man, I might not be able to hold myself from telling them to piss off too.