fixed some confusion between base, id and name