Add method to generate an unique input key