Made application more aware of MyNewsDesk's id-system. Id and type_of_media are a kind of compund key, and when syncing, it finds corresponding database objects by these fields.