encodeByNameSansHeader: like encodeByName but don't write the header. Use it only for ordering