Fix RestInterfaceClient to handle "id" parameter + @path attribute correctly. Fixes #738.