Replaces string naming with long integers