If he did this, it was obviously a hate crime, because he was attacked because of his sexual orientation. If somebody who supposedly beats up a gay man because of his sexual orientation deserves extra punishment, then the guy who did this deserves the same punishment. Another reason to oppose hate crime legislation.
You are setting up pedophiles as entitled to protection under hate crime legislation on the theory that, since pedophelia is a "sexual orientation," anyone who attacks them because they are a pedophile, has committed a hate crime against them. Here is why this argument does not hold water:
There are various classes or groups of people afforded protection under hate crime legislation. Although the classes or groups may vary from state to state, they are, generally based upon age, gender, racial or ethnic origin, sexual orientation, disability and religion. With the exception of religion, you will notice that all of the remaining classes involve membership therein by circumstance, not by choice. You are what you are, age-wise, racially, ethnically, gender-wise, sexual orientation-wise and disability-wise. None of these groups involve membership by choice.
Pedophiles are pedophiles because they like to mess with children. Something like this is a matter of choice, not circumstance. Hate crime legislation is designed to protect people who are in one of the protected classes by circumstance, not by choice.
Additionally, practicing pedophilia is a crime. Being a member of any of the listed, protected classes in the hate crime statutes is not a crime. A statute that protected criminals (pedophiles) would be against public policy, because it would encourage people to become pedophiles.