make string IDs conform to standards