Group naming adjustments

Groups are named from now on as follows to enhance search:
  <m_id>-<g_id>-<p_id>