add nameToId function to salt file identifier on server side