method id generator must be incremented accordingly when custom id is provided
fixed TODO comment