Text this: Patent length and the value of inventions in Brazil in the nineteenth Century