added fetchIdByKey, fetchValueByKey