Set slug if it is empty.