Added query id class

Made an abstract Id class, should also look into a builder method to
provice a corosponding query
- sql id: int
- mongodb: implements it's on id shizzle