[GH-50] implement alias checking inside group definitions