encodeURIComponent ids