GEOMESA-313 Handle Id and * queries

Picking up from https://github.com/locationtech/geomesa/pull/269


Done, but should check the style to see if you like it.