or:

    <parameter name="id"><expr>object.getId()</expr></parameter>