President Cyril Ramaphosa has signed the Prevention and Combating of Hate Crimes and Hate Speech Bill into law.