Added a constructor to idName.