Added a constructor overload for setting the Id