rename identical variables

$id changed to $dbID