added methods for creaing ids from strings