Cast string "array.id" to integer