Motorola-Mobility/montage — pull request #925 by aadsm (2012-07-12 01:06:41+00:00)
Title: Avoid label clashes in serialization

Related to gh-905

The serialization was not taking into account the labels given to serialize() when generating a new label, this was leading to clashes in some cases.