If you define this as hatred towards the sex class of women then yes. If you include anyone who wants to say they are female then no
Again though, this is not how Hate legislation works. You do not need to "define" anything because everyone is automatically protected by the same laws.
To go back to a point raised earlier; "mistaken identity". This is ultimately irrelevant. No matter how unlikely it is that someone is mistaken for something they are not, the law still protects them in the event that they are. As a white, indigenous, atheistic Scot with no outwardly sign of religiosity, I think it vanishingly unlikely anyone would ever attack me in the mistaken belief I am a Muslim, but regardless, if they did they'd still be charged with a hate offence, "religion" being the pertinent aggravator, which is an example of why victim status is irrelevant, and why the law does not, by necessity, define or include/exclude precisely who can be the victim of specific hate offences.
What you are describing above is a misapplication of law, which I completely agree is unacceptable, but that is a problem rooted in failure of those charged with upholding law to understand it and apply it correctly.
A handful of examples of law being misapplied does not mean the law itself is broken or unworkable, especially when you consider the number of successful Hate convictions balanced against the instances where police get it wrong and investigate an "offence" when none has taken place.