Generates a URL slug/permalink based on fields in a Mongoid-based model