Change query in getIIby() to accept string data for id value