normalize cachid for memcache