Added attribute spec for automatic ID