Encode item names for URL