made a property QueryID which returns ID of query

the original property is now private and read only