Added id parameter to CSort and CPagination

CDataProvider should not know about pagination->pageVar and
pagination->sortVar. Setting the 'id' param allowed me to use a subclass
of CPagination which also has a pageSizeVar to handle pageSize the same
way as pageVar