The `getId` is used for generating the input id. The `hashVar` creates a hash of plugin options into one JS variable for reuse across the page - (especially when you have multiple widgets on the same page with same options like in tabular forms).