added a test to see if the component can generate an ID
implemented logic to generate an ID
added a test to see if the ids are different for the class name
modified the test for the expected value
implemented logic to generate ids