Added debug message for when an element is missing properties.id.