Function to return slug name when called.