unique validation for branch code