returns a single object if an ID is supplied