Bug 7540 - add id values to the legends in the patron entry form