exposing :id if the represented object responds to #id