new sql query for extracting wms project identifier, due to change in the database

git-svn-id: https://svn.bgdi.admin.ch/applications/translation/scripts@196 c7bacb06-31ca-45ca-81e0-dc0d7326716e