Add 'instance' function to Resolute to give the unique instance of a declarative element