Added a pre-save method that creates a slug if one isn't already present