Scaladoc: the value of an id attribute must be unique within a document

The value of an id attribute must be unique, according to HTML spec.