Introduce AccessKey.layout_id field; do not let activate a key without layout_id