Changed id format of areas, to avoid conflict with other elements. Sigh.
New method for grouping object lists by a given property. Plus a test.