Added maximum length for prefix and postfix for unique id.