Fixed code to use a proper unique identifier. User suppliable