fix(python-sdk): URL-encode namespaced template IDs and aliases (#1691)