added path support

see http://www.elasticsearch.org/guide/reference/mapping/id-field/