Added console warning when data item has no id