Export d3_identity function on d3 object

The d3 core defines an identity function but does not make it available to the user. This simply adds it to the d3 object as d3.identity so the user can use it as well.

This simplifies nested data (myNode.data(d3.identity)...) and makes code more readable/