Esri/esri-leaflet — pull request #178 by jgravois (2013-12-02 23:02:49+00:00)
Title: rewrote logic to pull objectid in a way that works for both MapServer and FeatureServer feature layers

loop through the returned fields and pull the name of the field of type 'esriFieldTypeOID' and then write the name of the field to a private variable so that the loop isnt executed redundantly.

also found one last reference to WKID 4265 that should be 4326 in the main esri.leaflet source.