Prescribing errors during hospital inpatient care: factors influencing identification by pharmacists