add slug creation functions to Models