Generate category slug based on the title