fixes #10013, Add legal identifier into basic and advance search field.