Added id autogeneration to examples. Testing.