refs #404 Added ci_id as reference for loan.inquiry