AERGO-533 Add a function to truncate the length of tie identifiers.  This is really kludgy and not a fool proof solution, but it enables us to successfully build the aero ddl.  We will need to revisit it with more time invested in a more robust solution, or if we decide to build our own version of postgres, we can up the identifier character limit and get rid of the id truncation all together.