Added ID attribute.
Added model for the problem statement.