Normalize id on init