For the most part, the ID does not affect any of the library part's function. Some parts, like window and doors, might use the ID for identification in plan and schedules. You can just enter any ID that suits your project and workflow. Unique IDs can be very useful when using Find & Select.
David