Use 'Id' element in OData as accurate package Id and 'title' as fallback

@davidfowl , please help to review at your earliest convenience
Code more defensively here. Fall back to the specified id if both of these are null.