simplify constructing lexmaps
rename type name for relmap keys
rename constructor for attribute names