Not if it was safe to do so and the only way to catch the violator. Or, are you suggesting that as long as the offender keeps violating the law, the police should be unable to apprehend them? ... Please ...
(We also speed, blow lights, chase people through yards without warrants, and even take people down with force as it becomes necessary ... or, should we be limited to politely asking people to give themselves up and asking that they please not harm us in the process?)
If I am alone, I have a subject detained and he gives me what could be a false name, you BET he's going into handcuffs! If I don't know who I have and I am alone, I will take all necessary steps to insure my safety. When you make it your business to contact people in the dead of night, you can gamble with your life. I will not gamble with mine.
The only issue I see here that leaps out as being improper is the length of the detention. Once his identity was established (assuming it was a valid state ID that was presented), there was sufficient time to investigate any other possible crimes (such as the bicycle DUI), and there was time to run the requisite records checks and write the citations, he should have been released. If truly an hour, that sounds unreasonable. But, then, we don't know all the details.