Add fromString method in DataType
First implementation of trackProperty and trackStringProperty. Not tested!