Urlencode model IDs