For purposes of this title, and for purposes of all other state law unless an explicit provision of law or the context clearly requires a different meaning, the following shall apply:
(a) "Hate crime" means a criminal act committed, in whole or in part, because of one or more of the following actual or perceived characteristics of the victim:
(4) Race or ethnicity.
(6) Sexual orientation.
(7) Association with a person or group with one or more of these actual or perceived characteristics.
(b) "Hate crime" includes, but is not limited to, a violation of Section 422.6.
(Added by Stats. 2004, Ch. 700, Sec. 6.)