This woul dbe an appropriate place ot check that type(adaccount_id) in ( unicode, str )