ID and Class Checks

Checking the element to be sure it has the appropriate attributes
before adding it to the wrapping element. This is related to issue #3
Merge pull request #4 from sloped/master

ID and Class Checks