Fix ArcGIS REST layer id's

Fix for https://github.com/GeoNode/geonode/issues/1517