[PATCH v4 2/2] containerid: helper to generate a containerid from a sysfs path