Added IdArray class