Set way ids in ol.format.OSMXML
Hoist var declaration
Merge pull request #1801 from twpayne/osm-xml-way-id

Set way ids in ol.format.OSMXML