SourceMgr: make valid buffer IDs start from one