standardizing CID retreival in Base.cid(). implementing throughout.