getanID function

Add an "id" Variable to a Dataset