Anonymous reviewer disclosed his identity. Should I thank him by name?
You can thank him by name for making helpful suggestions for improvement. You don't need to say that the comments were during a formal review. 

Alternatively, he should be thanked as an anonymous reviewer. 

I would, personally, prefer the first alternative. The publisher might also prefer it if you are using the name.