It is a static method, so you'll call it on the class:



MyString.createID(someStringGoesHere)

Note though that you must take care to spell and capitalize all your variable, method and class...