Hate crimes -- as defined by the bill -- are those motivated by prejudice and based someone 's race , color , religion , national origin , gender , sexual orientation , gender identity or disability .