GEOMESA-313 Handle Id and * queries

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

Changed, but style may need to be tweaked further