allow users to specify classes or ids

Update that allows the specification of form based on class or id explicitly. You can give "#<id-str>" or ".<class-str>". You can still give just a string with no modifier and it will assume that an id is wanted. This preserves backwards compatibility. 

Deals with Issue #6.