Sets (if <val> is supplied) or returns (if not) the value of line <lineid> for component <self>. <lineid> can be a number (index of the line) or a string (name of the line).