Substituted functionality name with id in lqns parsing. Still to change
it in LINE parsing. This fixes models with multiple functionality having
the same name.