Use function "ensureIds" to init a default id to the plotlines object if no id are given