encode queue name