Addind id attrs when publishig items to pubsub nodes

FIX #1089