allow imperative construction of polymer-element element by factoring out bootstrap code (`init`) and only invoking it automatically if `name` attribute is not empty