refactor(model): move attribute existance cache checks from init to refreshAttributes, closes #2409