getDataName function

Get the name of the element containing the data for the current object.