I believe that a Gcl request cannot include access method calls or attribute retrieval (in the same spirit as the fact that it can only do "SELECT * FROM"to retrieve whole objects or "SELECT __key__ FROM"to retrieve only keys), it cannot select and select fields, as in [hypothetical! -)] "SELECT this, that FROM").
, , .id() accessor ( None , , , .id_or_name(), , , None ). , , None:
thekeys = db.GqlQuery('SELECT __key__ FROM Whatever').fetch(1000)
theids = [k.id() for k in thekeys if k.id() is not None]