model: Small extension of Name class

Now name can be also constructed from a list of strings (previously, there
were a constructor version accepting list of references to strings).